﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Controls/MasterPage.master" AutoEventWireup="true"
    CodeFile="News.List.aspx.cs" Inherits="Pages_News_List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="cot_trai">
        <div class="box1">
            <div class="title1">
                <asp:HyperLink ID="hplCate" NavigateUrl="#" runat="server">Tin tức</asp:HyperLink></div>
            <div class="clear">
            </div>
            <asp:Repeater ID="rptList" runat="server">
                <ItemTemplate>
                    <%#GetHtml(Eval("Title").ToString(), Eval("Lead").ToString(), Eval("Url").ToString(), Eval("ImageUrl").ToString(), Convert.ToDateTime(Eval("PublishedTime")))%>
                </ItemTemplate>
            </asp:Repeater>
            <!--box1_c2-->
            <asp:Panel ID="panelOtherNews" Visible="false" runat="server">
                <div class="tin_cu">
                    CÁC TIN ĐÃ ĐĂNG</div>
                <asp:Repeater ID="rptOtherList" runat="server">
                    <ItemTemplate>
                        <div class="h_dong3">
                            <a href="<%#Eval("Url") %>"><%#Eval("Title")%> (<%#Eval("PublishedTime", "{0:dd/MM/yyyy}")%>)</a></div>
                    </ItemTemplate>
                </asp:Repeater>
                <div class="phantrang">
                    <asp:HyperLink ID="hplNext" runat="server">Xem tiếp</asp:HyperLink>
                </div>
                <div class="clear">
                </div>
            </asp:Panel>
        </div>
        <!--box1-->
    </div>
</asp:Content>
                                                                                                                                                    